package com.ctgu.examonline.service;

import com.ctgu.examonline.entity.Teacher;

import java.util.List;

public interface TeacherService {

    /*保存*/
    void save(Teacher teacher);

    /*删除*/
    void remove(Integer tea_no);

    /*更新*/
    void update(Teacher teacher);

    /*登录*/
    Teacher login(Integer tea_no, String tea_pwd);

    /*获取所有教师信息*/
    List<Teacher> listTeacher();
}
